package com.agileai.bpm.domain.history;

import java.util.ArrayList;
import java.util.List;

import com.agileai.bpm.domain.define.Process;

public class ProcessHistory extends HistoryObject{
	private String processInstanceId = null;
	private Process process = null;
	private List<ActivityHistory> activityHistorys = new ArrayList<ActivityHistory>();
	
	private String title = null;
	private String laucherId = null;
	private String laucherName = null;
	private String laucheTime = null;
	
	private String completerId = null;
	private String completerName = null;
	private String completeTime = null;
	private String completeMode = null;
	private String businessId = null;
	
	public static final class CompleteMode{
		public static final String finish = "finish";
		public static final String terminate = "terminate";
	}

	public List<ActivityHistory> getActivityHistorys() {
		return activityHistorys;
	}

	public void setActivityHistorys(List<ActivityHistory> activityHistorys) {
		this.activityHistorys = activityHistorys;
	}

	public String getCompleteMode() {
		return completeMode;
	}

	public void setCompleteMode(String completeMode) {
		this.completeMode = completeMode;
	}

	public String getCompleterId() {
		return completerId;
	}

	public void setCompleterId(String completerId) {
		this.completerId = completerId;
	}

	public String getCompleterName() {
		return completerName;
	}

	public void setCompleterName(String completerName) {
		this.completerName = completerName;
	}

	public String getCompleteTime() {
		return completeTime;
	}

	public void setCompleteTime(String completeTime) {
		this.completeTime = completeTime;
	}

	public String getProcessInstanceId() {
		return processInstanceId;
	}

	public void setProcessInstanceId(String instanceId) {
		this.processInstanceId = instanceId;
	}

	public String getLaucherId() {
		return laucherId;
	}

	public void setLaucherId(String laucherId) {
		this.laucherId = laucherId;
	}

	public String getLaucherName() {
		return laucherName;
	}

	public void setLaucherName(String laucherName) {
		this.laucherName = laucherName;
	}

	public String getLaucheTime() {
		return laucheTime;
	}

	public void setLaucheTime(String laucheTime) {
		this.laucheTime = laucheTime;
	}

	public Process getProcess() {
		return process;
	}

	public void setProcess(Process process) {
		this.process = process;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getBusinessId() {
		return businessId;
	}

	public void setBusinessId(String businessId) {
		this.businessId = businessId;
	}
}
